package cn.buk.tms.eotms.dao;


import cn.buk.common.sc.CommonSearchCriteria;
import cn.buk.tms.eotms.entity.DetrInfo;
import cn.buk.tms.eotms.entity.Pnr;
import cn.buk.tms.eotms.entity.TicketSale;

import java.util.Date;
import java.util.List;

public interface PnrDao {
	
	Pnr getPnrById(int id);
	
	List<Pnr> search(int ownerId, CommonSearchCriteria sc, String... etermUserNames);

  List<TicketSale> searchTprs(int ownerId, Date beginDate, Date endDate, int deviceId, String ticketNo, CommonSearchCriteria sc, String... etermUserNames);

	List<DetrInfo> searchDetrs(int ownerId, CommonSearchCriteria sc, String... etermUserNames);
}
